home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / dopus412-gpl / program / pools.h < prev    next >
Text File  |  2000-02-28  |  2KB  |  45 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. void * __asm AsmCreatePool(register __d0 ULONG,register __d1 ULONG,register __d2 ULONG,register __a6 struct ExecBase *);
  32. void __asm AsmDeletePool(register __a0 void *,register __a6 struct ExecBase *);
  33. void * __asm AsmAllocPooled(register __a0 void *,register __d0 ULONG,register __a6 struct ExecBase *);
  34. void __asm AsmFreePooled(register __a0 void *,register __a1 void *,register __d0 ULONG,register __a6 struct ExecBase *);
  35.  
  36. #define    CreatePool(x,y,z)    AsmCreatePool(x,y,z,(struct ExecBase *)SysBase)
  37. #define    DeletePool(x)        AsmDeletePool(x,(struct ExecBase *)SysBase)
  38. #define    AllocPooled(x,y)    AsmAllocPooled(x,y,(struct ExecBase *)SysBase)
  39. #define    FreePooled(x,y,z)    AsmFreePooled(x,y,z,(struct ExecBase *)SysBase)
  40.  
  41. #define    LibCreatePool(x,y,z)    AsmCreatePool(x,y,z,(struct ExecBase *)SysBase)
  42. #define    LibDeletePool(x)        AsmDeletePool(x,(struct ExecBase *)SysBase)
  43. #define    LibAllocPooled(x,y)    AsmAllocPooled(x,y,(struct ExecBase *)SysBase)
  44. #define    LibFreePooled(x,y,z)    AsmFreePooled(x,y,z,(struct ExecBase *)SysBase)
  45.